package com.nintendo.mapper;

import com.nintendo.entity.pojo.Category;

import java.util.List;

public interface CategoryDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

    void update(Category category);

    List<Category> selectAll();

    void deleteById(int id);
}